Re: Problem with postgresql tomcat datasource - Mailing list pgsql-jdbc

From
Subject Re: Problem with postgresql tomcat datasource
Date
Msg-id 20021121223646.OKQJ9762.amsfep11-int.chello.nl@[127.0.0.1]
Whole thread Raw
In response to Problem with postgresql tomcat datasource  (Andrea.Ferrando@marconimobile.com)
List pgsql-jdbc
- Your pg-db needs to be accepting database connections, set tcpip to yes in your postgres.conf.
- Check that your pg_hba.conf is set correctly.
- Check that your any packetfilter or iptables is functioning correctly.
- Set <MaxIdle> to a relatively high level compare to <MaxActive>, <MaxActive is the actual number of tcp/ip
connectionsopenend to your pg-database. <MaxIdle> is the number of open database connections your web applications can
handle.
 
- Never call connection.close(). The DataSource implementation should be handling that. 
- Be sure to have defined the <resource> in the right place.




pgsql-jdbc by date:

Previous
From: Sorin Constantinescu
Date:
Subject: Bug in pgjdbc2 ? org.postgresql.PG_Stream.flush(PG_Stream.java:355)
Next
From: Vinni
Date:
Subject: Problem